@tool
extends EditorPlugin

const visual_view_scene = preload("res://addons/Skill_Editor/scenes/visual_view.tscn")
var visual_view:Panel

func _init() -> void:
	name = "SkillEditor_Plugin"
	visual_view = visual_view_scene.instantiate()
	add_control_to_bottom_panel(visual_view,"可视化技能编辑器")
func _enter_tree() -> void:
	pass
func _exit_tree() -> void:
	if visual_view:
		remove_control_from_bottom_panel(visual_view)
		visual_view.free()
